package com.code.day05;

public class DemoTest1 {
    public static void main(String[] args) throws InterruptedException {
        Ticket ticket1 = new Ticket();
        Thread t1 = new Thread(ticket1, "wx");
        Thread t2 = new Thread(ticket1, "qq");
        Thread t3 = new Thread(ticket1, "wechat");
        t1.start();
        t2.start();
        t3.start();
    }
}
